import { BrowserModule } from '@angular/platform-browser';//angular核心模块
import { NgModule } from '@angular/core';//angular核心模块

import { AppRoutingModule } from './app-routing.module';//路由模块
import { AppComponent } from './app.component';


//子组件

import { MallclassComponent } from './mallclass/mallclass.component';
import { JyListComponent } from './jy-list/jy-list.component';
import { IndexComponent } from './index/index.component';
import { LiveTvComponent } from './live-tv/live-tv.component';
import { MyComponent } from './my/my.component';
import { JiuyuanXqComponent } from './jiuyuan-xq/jiuyuan-xq.component';
import { BaoxianComponent } from './baoxian/baoxian.component';
import { BaoxianBijiaComponent } from './baoxian-bijia/baoxian-bijia.component';
import { BaoxianGoumComponent } from './baoxian-goum/baoxian-goum.component';
import { BaoxianLipeiComponent } from './baoxian-lipei/baoxian-lipei.component';  //加载组件

import { MySzDzNewComponent } from './my-sz-dz-new/my-sz-dz-new.component';
import { MySzFankComponent } from './my-sz-fank/my-sz-fank.component';
import { PeijianListComponent } from './peijian-list/peijian-list.component';
import { PeijianListXqComponent } from './peijian-list-xq/peijian-list-xq.component';
import { QicChuzComponent } from './qic-chuz/qic-chuz.component';
import { ReportComponent } from './report/report.component';
import { ReportXqComponent } from './report-xq/report-xq.component';
import { SignZcComponent } from './sign-zc/sign-zc.component';

import { MyDdListXqComponent } from './my-dd-list-xq/my-dd-list-xq.component';
import { MyShoucComponent } from './my-shouc/my-shouc.component';
import { MySzComponent } from './my-sz/my-sz.component';
import { MySzAnquanComponent } from './my-sz-anquan/my-sz-anquan.component';
import { MySzAnquanMsComponent } from './my-sz-anquan-ms/my-sz-anquan-ms.component';
import { MySzAnquanNcComponent } from './my-sz-anquan-nc/my-sz-anquan-nc.component';
import { MySzDzComponent } from './my-sz-dz/my-sz-dz.component';
import { MySzDzDizhiComponent } from './my-sz-dz-dizhi/my-sz-dz-dizhi.component';



import { MallListComponent } from './mall-list/mall-list.component';
import { MallListXqComponent } from './mall-list-xq/mall-list-xq.component';
import { MallShopComponent } from './mall-shop/mall-shop.component';
import { MallShopClassComponent } from './mall-shop-class/mall-shop-class.component';
import { MallShopXqComponent } from './mall-shop-xq/mall-shop-xq.component';
import { MyDdListComponent } from './my-dd-list/my-dd-list.component';
import { NavComponent } from './nav/nav.component'; //加载的组件

@NgModule({
  declarations: [
    AppComponent,
    MySzDzNewComponent,
    MySzFankComponent,
    PeijianListComponent,
    PeijianListXqComponent,
    QicChuzComponent,
    ReportComponent,
    ReportXqComponent,
    SignZcComponent,
    MallclassComponent,//--
    JyListComponent,
    IndexComponent,
    LiveTvComponent,
    MyComponent,
    JiuyuanXqComponent,
    BaoxianComponent,
    BaoxianBijiaComponent,
    BaoxianGoumComponent,
    BaoxianLipeiComponent,   //在这里增加组件对象
    MallListComponent, //--
    MallListXqComponent,
    MallShopComponent,
    MallShopClassComponent,
    MallShopXqComponent,
    MyDdListComponent,
    MyDdListXqComponent,//--
    MyShoucComponent,
    MySzComponent,
    MySzAnquanComponent,
    MySzAnquanMsComponent,
    MySzAnquanNcComponent,
    MySzDzComponent,
    MySzDzDizhiComponent,
    NavComponent,
  ],
  imports: [
    BrowserModule,//浏览器模块
    AppRoutingModule//路由模块
  ],
  providers: [], //声明模块中提供什么服务
  bootstrap: [AppComponent]//声明模块的主要组件（默认主页）
})

//定义了AppModule类
export class AppModule { } //输出
